package com.sxit.tdf.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 橙子高
 * @since 2022-02-23
 */
@TableName("tb_file_bucket")
@Schema(name = "FileBucket对象", description = "")
public class FileBucket implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @Schema(description = "筒名称")
  private String bucketName;

  @Schema(description = "筒的 小写名称")
  private String bucketCode;

  @Schema(description = "创建时间")
  private LocalDateTime createTime;

  @Override
  public String toString() {
    return "FileBucket{"
        + "id="
        + id
        + ", bucketName='"
        + bucketName
        + '\''
        + ", bucketCode='"
        + bucketCode
        + '\''
        + ", createTime="
        + createTime
        + '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getBucketName() {
    return bucketName;
  }

  public void setBucketName(String bucketName) {
    this.bucketName = bucketName;
  }

  public String getBucketCode() {
    return bucketCode;
  }

  public void setBucketCode(String bucketCode) {
    this.bucketCode = bucketCode;
  }

  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }
}
